$(function () {
    // 获取二维码
    var result = Model.represent.myRepresent();
    if (!sessionStorage.getItem('hmdj_stopError')) {
        sessionStorage.setItem('hmdj_stopError', true);
    } else {
        if (result.code) {
            Common.fn.formatOutput(result);
            loading.hide();
            return false;
        }
    }
    $('.code').attr('src', result.data);
});